<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="关于恢复">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="nas_s_0057">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>关于恢复</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="nas_s_0057"></a><a name="nas_s_0057"></a>

<h1 class="topictitle1">关于恢复</h1>
<div><p>当NAS文件系统/NAS共享数据丢失或您需要还原某个副本数据给其他NAS文件系统/NAS共享时，可以通过恢复操作来实现。本节以ProtectAgent部署在<span>OceanProtect</span>为例。</p>
<div class="section"><h4 class="sectiontitle">恢复业务流程</h4><p>用户在<span>OceanProtect</span>管理界面指定恢复副本，设置恢复参数，并下发恢复任务给<span>OceanProtect</span>。</p>
<ul><li>恢复文件系统到原位置<div class="fignone"><span class="figcap"><b>图1 </b>恢复业务流（恢复文件系统到原位置）</span><br><span><img class="eddx" src="zh-cn_image_0000001839159897.png"></span></div>
<ol><li><span style="color:#1D1D1A;">用户</span>在<span style="color:#1D1D1A;">OceanProtect管理界面下发</span><span style="color:#1D1D1A;">并调度NAS文件</span><span style="color:#1D1D1A;">备份副本恢复任务，</span><span style="color:#1D1D1A;">并</span><span style="color:#1D1D1A;">将恢复任务</span><span style="color:#1D1D1A;">发送</span><span style="color:#1D1D1A;">到数据保护</span><span style="color:#1D1D1A;">引擎</span>。</li><li><span style="color:#1D1D1A;">ProtectAgent在文件系统中找到</span>目标副本，将副本数据恢复到文件系统中。</li><li><span style="color:#1D1D1A;">ProtectAgent</span>通过远程复制，将<span style="color:#1D1D1A;">OceanProtect</span>文件系统中的数据同步到原位置实现原位置恢复。</li></ol>
</li><li id="nas_s_0057__li129049379340"><a name="nas_s_0057__li129049379340"></a><a name="li129049379340"></a>其他恢复方式<div class="fignone"><span class="figcap"><b>图2 </b>恢复业务流（其他恢复方式）</span><br><span><img class="eddx" src="zh-cn_image_0000001792360778.png"></span></div>
<ol><li><span style="color:#1D1D1A;">用户</span>在<span style="color:#1D1D1A;">OceanProtect管理界面下发</span><span style="color:#1D1D1A;">并调度NAS文件</span><span style="color:#1D1D1A;">备份副本恢复任务，</span><span style="color:#1D1D1A;">并</span><span style="color:#1D1D1A;">将恢复任务</span><span style="color:#1D1D1A;">发送</span><span style="color:#1D1D1A;">到数据保护</span><span style="color:#1D1D1A;">引擎</span>。</li><li><span style="color:#1D1D1A;">数据保护引擎基于恢复目标副本，创建克隆文件系统。</span></li><li><span style="color:#1D1D1A;">数据保护引擎在</span><span style="color:#1D1D1A;">OceanProtect</span><span style="color:#1D1D1A;">OS</span><span style="color:#1D1D1A;">中挂载</span><span style="color:#1D1D1A;">克隆文件系统，通过</span><span style="color:#1D1D1A;">NFS/CIFS</span><span style="color:#1D1D1A;">协议读取待恢复文件。</span></li><li><span style="color:#1D1D1A;">数据保护引擎通过</span><span style="color:#1D1D1A;">NFS/CIFS</span><span style="color:#1D1D1A;">协议挂载待恢复目标文件系统，将数据写入到待恢复目标文件系统中，最后删除克隆文件系统，恢复完成。</span></li></ol>
</li></ul>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>